@import "./reset";
@import "./bootstrap";
@import "./common";

// 主体内容
section {
    margin-top: 50px;
    // LayaFlash
    .LayaFlash {
        width: 100%;
        background-color: #8bc01f;
        padding-top: 60px;
        padding-bottom: 60px;
        .container {
            .row {
                .left {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    color: #fff;
                    // 标题
                    div {
                        a {
                            display: flex;
                            align-items: center;
                            text-decoration: none;
                            font-size: 38px;
                            margin-bottom: 25px;
                            span {
                                width: 50px;
                                height: 50px;
                                line-height: 50px;
                                border-radius: 5px;
                                font-weight: bolder;
                                text-align: center;
                                color: #8bc01f;
                                background-color: #fff;
                                margin-right: 12px;
                            }
                            h2 {
                                font-size: 38px;
                                color: #fff;
                                font-weight: bolder;
                            }
                        }
                    }
                    // 介绍
                    ul {
                        margin-left: 14px;
                        font-size: 15px;
                        li {
                            line-height: 32px;
                            margin-bottom: 12px;
                        }
                        li:first-of-type {
                            font-size: 24px;
                            margin-bottom: 50px;
                            line-height: 30px;
                        }
                        
                    }
                    // 按钮
                    button {
                        margin-left: 12px;
                        font-size: 15px;
                        color: #8bc01f;
                        width: 102px;
                        height: 36px;
                        text-align: center;
                        line-height: 36px;
                        border-radius: 5px;
                    }
                }
            }
        }
    }

    // LayaPlayer
    .LayaPlayer {
        width: 100%;
        background-color: #3393df;
        padding-top: 70px;
        .container {
            // 标题
            .title {
                a {
                    display: flex;
                    align-items: center;
                    text-decoration: none;
                    font-size: 38px;
                    margin-bottom: 27px;
                    span {
                        width: 50px;
                        height: 50px;
                        line-height: 50px;
                        border-radius: 5px;
                        font-weight: bolder;
                        text-align: center;
                        color: #3393df;
                        background-color: #fff;
                        margin-right: 12px;
                    }
                    h2 {
                        font-size: 38px;
                        color: #fff;
                        font-weight: bolder;
                    }
                }
            }
            // 介绍
            .row {
                margin-bottom: 114px;
                div:nth-of-type(2) {
                    padding-top: 30px;
                    div {
                        color: #fff;
                        margin-bottom: 20px;
                        padding: 0 15px;
                        h3 {
                            font-size: 28px;
                            margin-bottom: 15px;
                        }
                        p {
                            font-size: 14px;
                            line-height: 30px;
                        }
                    }
                }
                div:last-of-type {
                    position: relative;
                    img {
                        position: absolute;
                        bottom: -400px;
                    }
                }
            }
        }
    }

    // 第三部分
    .thirdly {
        width: 100%;
        margin-top: 90px;
        .container {
            .row {
                li {
                    // 标题
                    .title {
                        a {
                            display: flex;
                            align-items: center;
                            text-decoration: none;
                            font-size: 30px;
                            margin-bottom: 24px;
                            span {
                                width: 42px;
                                height: 42px;
                                line-height: 42px;
                                border-radius: 5px;
                                font-weight: bolder;
                                text-align: center;
                                color: #fff;
                                background-color: #3393df;
                                margin-right: 12px;
                            }
                            h2 {
                                font-size: 30px;
                                color: #3393df;
                                font-weight: bolder;
                            }
                        }
                    }
                    // 副标题
                    .subheading {
                        font-size: 20px;
                        color: #aeaeae;
                    }
                    // 介绍
                    ul {
                        li {
                            h4 {
                                margin-top: 32px;
                                font-size: 18px;
                                color: #66aee7;
                                margin-bottom: 18px;
                            }
                            p {
                                font-size: 16px;
                                color: #909090;
                                line-height: 25px;
                                text-indent: 2em;
                            }
                        }
                    }
                    // 图片
                    .img {
                        margin-top: 40px;
                        margin-bottom: 80px;
                        @include display-box;
                        justify-content: center;
                    }
                    @media (max-width: 768px) {
                        @include display-box;
                        flex-direction: column;
                        justify-content: center;    
                    }
                }  
                li:last-of-type {
                    ul {

                        li:nth-of-type(1) {
                            p {
                                margin-bottom: 57px;
                            }
                        }
                        @media (max-width: 1200px) {
                            li:nth-of-type(2) {
                                p {
                                    margin-bottom: 57px;
                                }
                            }
                        }
                        @media (max-width: 992px) {
                            li:nth-of-type(1) {
                                p {
                                    margin-bottom: 0px;
                                }
                            }
                            li:nth-of-type(2) {
                                p {
                                    margin-bottom: 0px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    // 第四部分
    .fourthly {
        width: 100%;
        padding-top: 90px;
        background-color: #f7f7f7;
        .container {
            .row {
                li {
                    // 标题
                    .title {
                        a {
                            display: flex;
                            align-items: center;
                            text-decoration: none;
                            font-size: 30px;
                            margin-bottom: 24px;
                            span {
                                width: 42px;
                                height: 42px;
                                line-height: 42px;
                                border-radius: 5px;
                                font-weight: bolder;
                                text-align: center;
                                color: #fff;
                                background-color: #3393df;
                                margin-right: 12px;
                            }
                            h2 {
                                font-size: 30px;
                                color: #3393df;
                                font-weight: bolder;
                            }
                        }
                    }
                    // 副标题
                    .subheading {
                        font-size: 20px;
                        color: #aeaeae;
                    }
                    // 介绍
                    ul {
                        li {
                            h4 {
                                margin-top: 32px;
                                font-size: 18px;
                                color: #66aee7;
                                margin-bottom: 18px;
                            }
                            p {
                                font-size: 16px;
                                color: #909090;
                                line-height: 25px;
                                text-indent: 2em;
                            }
                        }
                    }
                    // 图片
                    .img {
                        margin-top: 40px;
                        margin-bottom: 80px;
                        @include display-box;
                        justify-content: center;
                    }
                    @media (max-width: 768px) {
                        @include display-box;
                        flex-direction: column;
                        justify-content: center;    
                    }
                }
                // 为了让文字布局在同一水平  
                li:last-of-type {
                    ul {

                        li:nth-of-type(1) {
                            p {
                                margin-bottom: 57px;
                            }
                        }
                        @media (max-width: 1200px) {
                            li:nth-of-type(2) {
                                p {
                                    margin-bottom: 57px;
                                }
                            }
                        }
                        @media (max-width: 992px) {
                            li:nth-of-type(1) {
                                p {
                                    margin-bottom: 0px;
                                }
                            }
                        }
                        @media (max-width: 768px) {
                            li:nth-of-type(2) {
                                p {
                                    margin-bottom: 0px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
